package com.pan.dao.category;

import com.pan.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategorySelectDao{
    Category selectById(Long id);
    Category selectByName(String name);
    List<Category> selectByPid(Long pid);
    List<Category> selectByLevel(Integer level);
    Category selectByShowStatus(short showStatus);
    Category selectBySort(Integer sort);
    Category selectByIcon(String icon);
    Category selectByProductUnit(String productUnit);
    Category selectByProductCount(Integer productCount);
}